package 面试真题;

import java.util.ArrayList;
import java.util.Comparator;
import java.util.Scanner;

class S{
    public int a;
    public int b;

    public S(int a, int b) {
        this.a = a;
        this.b = b;
    }
}
public class Ali405 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int n = scanner.nextInt();
        ArrayList<S> s = new ArrayList<>();
        while (n-->0){
            s.add(new S(scanner.nextInt(),scanner.nextInt()));
        }
    }
}
